import {
  JIN_CHU_DEFAULT,
  TimeDetail,
  TextDetail,
  StatusDetail,
  ENERGY,
  DEFAULT_MSG,
  RUNPGM_NO,
  STAGE_REMAIN_TIME
} from "../../constant";
// 真空炉-Z17
export const MAP_DEATIL_VACUUM_FURNACE_Z17 = {
  // 上部分
  ...DEFAULT_MSG,

  furnaceCoilLock: StatusDetail(
    "downArea",
    "炉圈锁紧状态",
    "furnaceCoilLock",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),
  furnaceCoilLoosen: StatusDetail(
    "downArea",
    "炉圈松开状态",
    "furnaceCoilLoosen",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),
  // inflationValvein1: StatusDetail(
  //   "downArea",
  //   "充气阀状态",
  //   "inflationValvein1",
  //   require("@/assets/images/shebeiIcon/msg_7.png")
  // ),
  // microFillingValvein1: StatusDetail(
  //   "downArea",
  //   "微充阀状态",
  //   "microFillingValvein1",
  //   require("@/assets/images/shebeiIcon/msg_7.png")
  // ),
  // bleedValvein1: StatusDetail(
  //   "downArea",
  //   "放气阀状态",
  //   "bleedValvein1",
  //   require("@/assets/images/shebeiIcon/msg_7.png")
  // ),

  hotChamberHeating1: StatusDetail(
    "downArea",
    "热室加热1状态",
    "hotChamberHeating1",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),
  hotChamberHeating2: StatusDetail(
    "downArea",
    "热室加热2状态",
    "hotChamberHeating2",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),

  // diffusionPumpin1: StatusDetail(
  //   "downArea",
  //   "扩散泵1状态",
  //   "diffusionPumpin1",
  //   require("@/assets/images/shebeiIcon/msg_7.png")
  // ),
  // diffusionPumpin2: StatusDetail(
  //   "downArea",
  //   "扩散泵2状态",
  //   "diffusionPumpin2",
  //   require("@/assets/images/shebeiIcon/msg_7.png")
  // ),
  // highVacuumValvein1: StatusDetail(
  //   "downArea",
  //   "高真空阀状态",
  //   "highVacuumValvein1",
  //   require("@/assets/images/shebeiIcon/msg_7.png")
  // ),
  // airCooledPointMachinein1: StatusDetail(
  //   "downArea",
  //   "风冷电机1状态",
  //   "airCooledPointMachinein1",
  //   require("@/assets/images/shebeiIcon/msg_7.png")
  // ),
  // airCooledPointMachinein2: StatusDetail(
  //   "downArea",
  //   "风冷电机2状态",
  //   "airCooledPointMachinein2",
  //   require("@/assets/images/shebeiIcon/msg_7.png")
  // ),

  // byPassValvein1: StatusDetail(
  //   "downArea",
  //   "旁路阀状态",
  //   "byPassValvein1",
  //   require("@/assets/images/shebeiIcon/msg_7.png")
  // ),
  // balancingValvein1: StatusDetail(
  //   "downArea",
  //   "平衡阀状态",
  //   "balancingValvein1",
  //   require("@/assets/images/shebeiIcon/msg_7.png")
  // ),
  // mainValvein1: StatusDetail(
  //   "downArea",
  //   "主路阀状态",
  //   "mainValvein1",
  //   require("@/assets/images/shebeiIcon/msg_7.png")
  // ),
  // rootsPumpin1: StatusDetail(
  //   "downArea",
  //   "罗茨泵状态1",
  //   "rootsPumpin1",
  //   require("@/assets/images/shebeiIcon/msg_7.png")
  // ),
  // rootsPumpin2: StatusDetail(
  //   "downArea",
  //   "罗茨泵状态2",
  //   "rootsPumpin2",
  //   require("@/assets/images/shebeiIcon/msg_7.png")
  // ),
  // maintainValvein1: StatusDetail(
  //   "downArea",
  //   "维持阀状态1",
  //   "maintainValvein1",
  //   require("@/assets/images/shebeiIcon/msg_7.png")
  // ),
  // maintainValvein2: StatusDetail(
  //   "downArea",
  //   "维持阀状态2",
  //   "maintainValvein2",
  //   require("@/assets/images/shebeiIcon/msg_7.png")
  // ),
  // maintainPumpin1: StatusDetail(
  //   "downArea",
  //   "维持泵状态1",
  //   "maintainPumpin1",
  //   require("@/assets/images/shebeiIcon/msg_7.png")
  // ),
  // maintainPumpin2: StatusDetail(
  //   "downArea",
  //   "维持泵状态2",
  //   "maintainPumpin2",
  //   require("@/assets/images/shebeiIcon/msg_7.png")
  // ),
  // mechanicalPumpin1: StatusDetail(
  //   "downArea",
  //   "机械泵状态1",
  //   "mechanicalPumpin1",
  //   require("@/assets/images/shebeiIcon/msg_7.png")
  // ),
  // meter1RealTemp: TimeDetail(
  //   "downArea",
  //   "PV",
  //   "meter1RealTemp",
  //   require("@/assets/images/shebeiIcon/msg_7.png")
  // ),
  // meter1ControlTemp: TimeDetail(
  //   "downArea",
  //   "SP",
  //   "meter1ControlTemp",
  //   require("@/assets/images/shebeiIcon/msg_7.png")
  // ),
  ...RUNPGM_NO,
  // meterRunPgmNO: TextDetail(
  //   "downArea",
  //   "程序号",
  //   "meterRunPgmNO",
  //   require("@/assets/images/shebeiIcon/msg_4.png")
  // ),

  ...STAGE_REMAIN_TIME,
  meter1ToallRemainTime: TimeDetail(
    "downArea",
    "模拟仪表总剩余时间",
    "meter1ToallRemainTime",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),
  pgmRunTime: TimeDetail(
    "downArea",
    "运行时间",
    "pgmRunTime",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),
  partialPressureHign: TimeDetail(
    "downArea",
    "分压上限设定值",
    "partialPressureHign",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),
  partialPressureLow: TimeDetail(
    "downArea",
    "分压下限设定值",
    "partialPressureLow",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),
  fanGasAuto: TimeDetail(
    "downArea",
    "风机气淬自动",
    "fanGasAuto",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),
  airCoolingTiming: TimeDetail(
    "downArea",
    "风冷计时",
    "airCoolingTiming",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),
  airCoolingDelay: TimeDetail(
    "downArea",
    "风冷延时",
    "airCoolingDelay",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),
  coolingStartPoint: TimeDetail(
    "downArea",
    "冷却起点",
    "coolingStartPoint",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),
  rootSPumpingPressere: TimeDetail(
    "downArea",
    "罗茨泵分压",
    "rootSPumpingPressere",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),
  manualCoolingConfirmation: TimeDetail(
    "downArea",
    "手动冷却确认",
    "manualCoolingConfirmation",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),
  pressureDisplay: TimeDetail(
    "downArea",
    "压力显示",
    "pressureDisplay",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),
  instrumentOutputPower: TimeDetail(
    "downArea",
    "仪表输出功率",
    "instrumentOutputPower",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),
  autoChargeAirCooling: TimeDetail(
    "downArea",
    "自动充气冷却",
    "autoChargeAirCooling",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),
  autoFurnaceCooling: TimeDetail(
    "downArea",
    "自动随炉冷却",
    "autoFurnaceCooling",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),
  highTempValue: TimeDetail(
    "downArea",
    "超温仪表值",
    "highTempValue",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),
  gasChargingSetting: TimeDetail(
    "downArea",
    "充气设定值",
    "gasChargingSetting",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),
  lowTempValue: TimeDetail(
    "downArea",
    "低温到值",
    "lowTempValue",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),
  ionizationVacuumDegree: TimeDetail(
    "downArea",
    "电离真空度",
    "ionizationVacuumDegree",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),
  resistanceVacuumDegree: TimeDetail(
    "downArea",
    "电阻真空度",
    "resistanceVacuumDegree",
    require("@/assets/images/shebeiIcon/msg_7.png")
  ),

  // ...JIN_CHU_DEFAULT
};

// 真空炉 Z-17
export const VACUUM_FORMULA_INFO_Z17 = [
  {
    label: "阶段",
    key: "stageId",
    value: "",
    type: "",
    stageId: ""
  },
  {
    label: "设定温度℃",
    key: "oneExpandInfo",
    value: "",
    type: "input",
    oneExpandInfo: ""
  },
  {
    label: "设定时间",
    key: "twoExpandInfo",
    value: "",
    type: "input",
    twoExpandInfo: ""
  },
  {
    label: "保证",
    key: "threeExpandInfo",
    value: "",
    type: "radio",
    threeExpandInfo: "",
    options: [
      {
        label: "是",
        value: "1"
      },
      {
        label: "否",
        value: "0"
      }
    ]
  },
  {
    label: "分压",
    key: "fourExpandInfo",
    value: "",
    type: "radio",
    fourExpandInfo: "",
    options: [
      {
        label: "开",
        value: "1"
      },
      {
        label: "关",
        value: "0"
      }
    ]
  },
  {
    label: "fiveExpandInfo",
    key: "fiveExpandInfo",
    value: "",
    type: "radio",
    fiveExpandInfo: "",
    hide: true
  },
  {
    label: "sixExpandInfo",
    key: "sixExpandInfo",
    value: "",
    type: "radio",
    sixExpandInfo: "",
    hide: true
  },
  {
    label: "sevenExpandInfo",
    key: "sevenExpandInfo",
    value: "",
    type: "radio",
    sevenExpandInfo: "",
    hide: true
  },
  {
    label: "eightExpandInfo",
    key: "eightExpandInfo",
    value: "",
    type: "radio",
    eightExpandInfo: "",
    hide: true
  },
  {
    label: "nineExpandInfo",
    key: "nineExpandInfo",
    value: "",
    type: "radio",
    eightExpandInfo: "",
    hide: true
  },
  {
    label: "tenExpandInfo",
    key: "tenExpandInfo",
    value: "",
    type: "radio",
    eightExpandInfo: "",
    hide: true
  }
];

// 真空炉Z17的 图表展示字段
export const CHART_KEYS_Z17 = [
  {
    key: "meter1RealTemp",
    label: "PV"
  },
  {
    key: "ionizationVacuumDegree",
    label: "电离真空度"
  },
  {
    key: "resistanceVacuumDegree",
    label: "电阻真空度"
  }
];
